.category_wrap {
  //顶部导航
  .category_ul {
    padding: 0 0.3rem;
    ul {
      width: 100%;
      height: 1rem;
      line-height: 0.65rem;
      white-space: nowrap;
      overflow-x: auto;
      overflow-y: hidden;
      li {
        display: inline-block;
        font-size: 0.4rem;
        padding: 0 0.2rem;
        &.active {
          color: #f94d4d;
          border-bottom: 1px solid #f94d4d;
        }
      }
    }
  }

  //节目列表
  .program {
    padding: 0 0.3rem;
    font-size: 0.35rem;
    .list {
      width: 30%;
      margin: 0.2rem 5% 0.2rem 0;
      display: inline-block;
      position: relative;
      &:nth-of-type(3n) {
        margin-right: 0;
      }
      .img {
        width: 100%;
        height: 2.4rem;
        overflow: hidden;
        img {
          vertical-align: middle;
          width: 100%;
        }
      }
      .desc {
        width: 92%;
        padding: 0.1rem 4%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #fff;
        font-weight: bold;
        background: linear-gradient(to top, #a0a0a0, transparent);
        position: absolute;
        top: 1.75rem;
        left: 0;
        img {
          width: 0.36rem;
        }
      }
      .name {
        font-size: 0.36rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }
}